home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- :: This batch file will initialize file sample.exe in drive A: with
- :: next serial no...
- ::
- :: Place createsn.exe and appendsn.exe (and searchsn.exe, if desired) in your
- :: path or specify full pathname when they are called, below.
- ::
- :: The next line increments serialno.dat file on source drive, in current
- :: directory, by one...
- createsn
- echo.
- :: The executable to be serialized is assumed to already exist in A:\...
- appendsn a:\sample.exe
- :: The following line is optional; see documentation under Production Use.
- rem copy serialno.dat a:\
- echo.
- :: If using Norton's FD.EXE (FileDate) utility, unrem/modify the next 1 or
- :: 2 lines...
- rem fd a:\sample.exe /t00:00
- rem fd a:\serialno.dat /t00:00
- ::
- :: If you wish to search/verify the .exe for the serialization, unrem the
- :: next line:
- rem searchsn a:\sample.exe
- echo.
- echo Done.
- echo.
-